package com.example.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Conversations {
    // Maps to conv_id in database
    private Integer convId;  // 对应数据库的 conv_id
    private Integer goodsId; // 对应数据库的 goods_id
    private Integer buyerId;
    private Integer sellerId;
    private String lastMsg;
    private LocalDateTime lastTime;  // 改回 LocalDateTime 类型
    private Integer unreadCount;
    private String status;
}